package com.imooc.form;

import lombok.Data;
import lombok.NonNull;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 功能描述: <br>
 * (类目表单实体)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:38
 * @since: 1.8.0
 * @version: 1.0.0
 */
@Data
public class CategoryForm {

    private Integer categoryId;

    /*类目名字*/
    @NotEmpty(message = "类目名称必填")
    private String categoryName;

    /*类目编号*/
    @NotEmpty(message = "类目编号必填")
    private Integer categoryType;

}
